<?php if (!defined('THINK_PATH')) exit(); /*a:3:{s:39:"./app/template/guojicms/index/soso.html";i:1615109898;s:73:"/www/wwwroot/guojicms.com/47.101.46.143/app/template/guojicms/header.html";i:1615109898;s:73:"/www/wwwroot/guojicms.com/47.101.46.143/app/template/guojicms/footer.html";i:1615109898;}*/ ?>
<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no">
    <title>搜索<?php echo input('ks'); ?>相关的内容- <?php echo set('title'); ?></title>
    <meta name="description" content="<?php echo set('description',1); ?>">
    <meta name="keywords" content=" <?php echo set('keywords',1); ?>">
    <meta name="author" content="guojicms.com">
        <meta name="referrer" content="never">
    <link rel="stylesheet" href="/public/admin/lib/layui/css/layui.css">
    <link rel="stylesheet" href="/public/admin/css/font.css">
    <link rel="stylesheet" href="/public/css/default.css">
    <link href="<?php echo m(); ?>/css/style.css?v=<?php echo set('banben'); ?>" rel="stylesheet">
	<script src="/public/js/jquery-3.4.1.min.js"></script>
    <script src="/public/admin/lib/layui/layui.js"></script>
    <script src="<?php echo m(); ?>/js/public.js?v=<?php echo set('banben'); ?>"></script>
    <!--预埋钩子-->
    <?php echo hook('indexheader'); ?>
</head>
<body>
    <div class="topbox">
        <div class="menu">
            <img src="<?php echo m(); ?>/img/menu.png" />
        </div>
        <!--移动端menu-->
        <div class="menubox">
            <?php if(user('userid')): ?>
            <div class="w_per clearfloat">
                <div class="w_pic">
                    <a href="<?php echo url('index/user/set'); ?>">
                        <img src="<?php echo user('userhead'); ?>">
                    </a>
                </div>
                <div class="w_login">	<span><?php echo user('username'); ?></span>
                </div>
            </div>
            <div class="w_syno">
				<a href="<?php echo url('index/user/set'); ?>"><?php echo dingyi(user('description'),'去写点什么吧...'); ?></a>
			</div>
            <div class="fanbox">
                <div class="w_fan clearfloat">
                    <a href="javascript:;">
                        <p><?php echo fun_st('html', array('uid' => user('userid'))); ?></p>
                        <p>投稿</p>
                    </a>	
                    <span class="wline"></span>
                    <a href="javascript:;">
                        <p><?php echo fun_st('comment', array('uid' => user('userid'))); ?></p>
                        <p>评论</p>
                    </a>	
                    <span class="wline"></span>
                    <a href="javascript:;">
                        <p><?php echo user('point'); ?></p>
                        <p><?php echo set('jifen',2); ?></p>
                    </a>
                </div>
            </div>
            <div class="w_pay clearfloat">
				<a href="<?php echo url('index/user/uid',array('id'=>user('userid'))); ?>" class="w_guan" target="_blank">主页</a> <a href="<?php echo url('index/user/add'); ?>">投稿</a>
			</div>
            <?php else: ?>
            <div class="w_per clearfloat">
                <div class="w_pic">
                    <a href="javascript:;">
                        <img src="/public/img/touxiang.jpg">
                    </a>
                </div>
                <div class="w_login">	
                    <span>欢迎您</span>
                </div>
            </div>
            <div class="fanbox">
                <div class="w_fan clearfloat">
                    <a href="javascript:;">
                        <p><?php echo fun_st('html', array('open' => 1)); ?></p>
                        <p>文章</p>
                    </a>	
                    <span class="wline"></span>
                    <a href="javascript:;">
                        <p><?php echo fun_st('comment', array()); ?></p>
                        <p>评论</p>
                    </a>	
                    <span class="wline"></span>
                    <a href="javascript:;">
                        <p><?php echo fun_st('member', array()); ?></p>
                        <p>会员</p>
                    </a>
                </div>
            </div>
            <div class="w_pay clearfloat">
				<a href="<?php echo url('index/user/login'); ?>" class="w_guan">登录</a> <a href="<?php echo url('index/user/reg'); ?>">注册</a>
			</div>
            <?php endif; ?>
            <div class="w_mav">	
                <a href="/">首页</a>
                <?php $_result=fun_s('link',array('wz'=>1,'open'=>1),'px desc',4,0);if(is_array($_result) || $_result instanceof \think\Collection || $_result instanceof \think\Paginator): $i = 0; $__LIST__ = $_result;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
                <a href="<?php echo $vo['lianjie']; ?>" <?php if($vo['xin']==1): ?>target="_blank" <?php endif; ?>><?php echo $vo['name']; ?></a>
                <?php endforeach; endif; else: echo "" ;endif; ?>  
            </div>
            <?php if(user('userid')): ?>
            <div class="w_cen clearfloat">
				<a href="<?php echo url('index/user/set'); ?>" target="_blank" class="w_cent"><img src="<?php echo m(); ?>/img/wset.png">  <span>设置</span></a>
				<a url="<?php echo url('index/api/logout'); ?>" name="确实要退出登录吗" href="javascript:;" class="del_t w_set"><span>退出</span> <span class="wdian"></span></a>
			</div>
            <?php endif; ?>
        </div>
        <div class="mobilezhe"></div>
        <div class="top clearfloat" align="center">
            <div class="logo">
                <a href="/">
                    <img src="<?php echo set('logo'); ?>" />
                </a>
            </div>
            <div class="nav">
                <ul class="clearfloat">
                    <li>
                        <a href="/">首页</a>
                    </li>
                    <?php $_result=fun_s('link',array('wz'=>1,'open'=>1),'px desc',100,0);if(is_array($_result) || $_result instanceof \think\Collection || $_result instanceof \think\Paginator): $i = 0; $__LIST__ = $_result;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
                    <li>
                        <a href="<?php echo $vo['lianjie']; ?>" <?php if($vo['xin']==1): ?>target="_blank" <?php endif; ?>><?php echo $vo['name']; ?></a>
                    </li>
                	<?php endforeach; endif; else: echo "" ;endif; ?>  
                </ul>
            </div>
            <form method="get" class="searchbox clearfloat" action="<?php echo url('index/index/soso'); ?>">
                <input type="text" name="ks" value="<?php echo get('ks',''); ?>" placeholder="关键字" />	
                <button type="submit" class="se_btn" style="background-color: rgba(110, 65, 255, 0);"></button>
            </form>
            <div class="regcut clearfloat">	
                <?php if(user('userid')): ?>
                <div class="login_tou">
                    <a href="javascript:;">
                        <img src="<?php echo user('userhead'); ?>">
                    </a>
                    <div class="login_down">
                        <ul>
                            <li><a href="<?php echo url('index/user/set'); ?>" target="_blank"><?php echo user('username'); ?></a></li>
                            <li><a href="<?php echo url('index/user/set'); ?>" target="_blank">设置</a></li>
                            <li><a url="<?php echo url('index/api/logout'); ?>" name="确实要退出登录吗" href="javascript:;" class="del_t">退出</a></li>
                        </ul>
                    </div>
                </div>
                <?php else: ?>
                <div class="login_tou">
                    <a href="javascript:;">
                        <img src="/public/img/touxiang.jpg">
                    </a>
                    <div class="login_down">
                        <ul>
                            <li><a href="<?php echo url('index/user/reg'); ?>">注册</a></li>
                            <li><a href="<?php echo url('index/user/login'); ?>">登录</a></li>
                        </ul>
                    </div>
                </div>
                <?php endif; ?>
            </div>
            <div class="serbtn">
                <img src="<?php echo m(); ?>/img/sear.png" />
            </div>
            <!--移动端搜索按钮-->
            <div class="w_search clearfloat">
                <form method="get" class="w_se clearfloat" action="<?php echo url('index/index/soso'); ?>">
                    <input type="text" name="ks" value="<?php echo get('ks',''); ?>" placeholder="关键字" />
                    <span><button type="submit" class="iconfont" style="background-color: rgba(110, 65, 255, 0);"></button></span>
                </form>
                <div class="w_sebtn">取消</div>
            </div>
        </div>
    </div>
    <div class="h_top"></div>    
    <div class="carbox clearfloat pb-10 pt-10">
        <div class="carmat">
            <div class="widget-header"><h4>搜索<?php echo input('ks'); ?>相关的内容</h4></div>
            <ul>
                <?php $_result=fun_so('html',array('open'=>1),input('ks'),8);if(is_array($_result) || $_result instanceof \think\Collection || $_result instanceof \think\Paginator): $i = 0; $__LIST__ = $_result;if( count($__LIST__)==0 ) : echo "
                    <div align='center' style='margin: 0 auto;'>
                        <img src='/public/img/empty.jpg' height='200' />
                        <h4 class='pt-20'>
                              没有更多的记录
                            </h4>
                    </div>" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
                <li>
                    <div class="matcont">
                        <a href="<?php echo url('index/index/html',array('id'=>$vo['id'])); ?>">
                            <h1><?php echo $vo['title']; ?></h1>
                            <div class="mattext"><?php echo cut_c($vo['content'],100); ?></div>
                        </a>
                        <div class="like clearfloat">
                            <div class="zantime">	
                                <span class="headport"><img src="<?php echo fun_u($vo['uid'], 'userhead'); ?>"/></span>
                                <span class="likename"><?php echo fun_u($vo['uid'], 'username'); ?></span>
                                <span class="liked"></span>
                                <span class="likename"><?php echo times($vo['time']); ?></span>
                            </div>
                            <div class="zanbox">	
                                <span class="zanbtn"></span><span class="zannum"><?php echo $vo['zan']; ?></span>
                                <a href="javascript:;" class="cri"></a><span class="zannum"><?php echo fun_st('comment', array('fid'=>$vo['id'])); ?></span>
                            </div>
                        </div>
                    </div>
                </li>
                <?php endforeach; endif; else: echo "
                    <div align='center' style='margin: 0 auto;'>
                        <img src='/public/img/empty.jpg' height='200' />
                        <h4 class='pt-20'>
                              没有更多的记录
                            </h4>
                    </div>" ;endif; ?>
            </ul>
             <div class="pagination">
    		    <?php echo fun_so('html',array('open'=>1),input('ks'),8)->render(); ?>
    		</div>
        </div>
        <!--右边-->
        <div class="drivebox">
            <!--热门文章-->
            <div class="industbox">
                <div class="widget-header"><h4>猜你喜欢</h4></div>
                <div class="indust">
                    <ul>
                        <?php $_result=fun_sj('html',array('open'=>1),12);if(is_array($_result) || $_result instanceof \think\Collection || $_result instanceof \think\Paginator): $i = 0; $__LIST__ = $_result;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
                        <li>
                            <a href="<?php echo url('index/index/html',array('id'=>$vo['id'])); ?>" class="clearfloat">
                                <div class="industpic">
                                    <img src="<?php echo pic($vo['content']); ?>" />
                                </div>
                                <div class="industcont">
                                    <h1><?php echo $vo['title']; ?></h1>
                                    <p><?php echo cut_c($vo['content'],15); ?></p>
                                </div>
                            </a>
                        </li>
                        <?php endforeach; endif; else: echo "" ;endif; ?>
                    </ul>
                </div>
            </div> 
        </div>
    </div>
    <!--预埋钩子-->
    <?php echo hook('indexsoso'); ?>
        <div class="footbox">
        <div class="footer clearfloat">
            <div class="analyse">
                <h1><?php echo set('title'); ?></h1>
                <p>
                    <!--免费版请保留下面115cms.com的版权谢谢！如需去版权请购买授权-->
                    <span>Copyright ©2021 <a style="color: #bcb7b7;" href="http://www.115cms.com" target="_blank"><?php echo config('web.name'); ?> V<?php echo config('web.banben'); ?></a>All Rights Reserved.<a style="color: #bcb7b7;" href="http://www.beian.miit.gov.cn/" target="_blank"><?php echo set('icp'); ?></a>
					</span>
                </p>
                <p class="ao"><?php echo set('banquan'); ?><?php echo set('tongji'); ?></p>
            </div>
            <div class="footline"></div>
            <div class="about">
                <h1>关于我们</h1>
                <?php $_result=fun_s('dan',array('open'=>1),'id desc',20,1);if(is_array($_result) || $_result instanceof \think\Collection || $_result instanceof \think\Paginator): $i = 0; $__LIST__ = $_result;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
                <p><a href="<?php echo url('index/index/dan',array('alias'=>$vo['alias'])); ?>"><?php echo $vo['title']; ?></a></p>
                <?php endforeach; endif; else: echo "" ;endif; ?>
            </div>
            <div class="serve">
                <h1>底部导航</h1>
                <?php $_result=fun_s('link',array('open'=>1,'wz'=>3),'px desc',20,1);if(is_array($_result) || $_result instanceof \think\Collection || $_result instanceof \think\Paginator): $i = 0; $__LIST__ = $_result;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
                <p><a <?php if($vo['xin']==1): ?>target="_blank"<?php endif; ?> href="<?php echo $vo['lianjie']; ?>"><?php echo $vo['name']; ?></a></p>
                <?php endforeach; endif; else: echo "" ;endif; ?>
            </div>
            <div class="footline"></div>
            <div class="follow">
                <img style="height: 150px;width: 150px;" src="<?php echo guoji('ma'); ?>" />
            </div>
        </div>
    </div>
    <!--预埋钩子-->
    <?php echo hook('indexfooter'); ?>
</body>
<script type="text/javascript" src="/public/js/form_ajax.js?v=<?php echo set('banben'); ?>"></script>
</html>  